const path = require('path');

const resolve = (src) => path.join(__dirname, src);


module.exports = {
  runtimeCompiler:true,
  chainWebpack: (config) => {
    config.resolve.alias.set('@', resolve('src'));
    config.resolve.alias.set('pages', resolve('src/pages'));
    config.resolve.alias.set('components', resolve('src/components'));
  },
  // devServer: {
  //   // proxy: 'http://localhost:7000'
  //   // proxy:'http://node.jeremypay.com'
  //   proxy: 'http://app.ddeducon.com'
  // },
  // baseUrl:'/admin'
}